/*
 * SplashContract.java
 * business
 *
 * Created by SunDing on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.splash;

import android.app.Activity;

import com.yidiandao.business.base.BasePresenter;
import com.yidiandao.business.base.BaseView;
import com.yidiandao.business.data.response.SplashResponse;

/** splash界面 */
public class SplashContract {

    interface Presenter extends BasePresenter {

        void initDelayTask();

        void onFragmentResume();

        void startActivity();

        void onFragmentPause();
    }

    interface View extends BaseView<SplashContract.Presenter> {

        void toMainActivity();

        void toLocationActivity();

        void toGuideActivity();

        void finishActivity();

        void toLoginActivity();

        Activity getCurrentActivity();

        void setSplashData(SplashResponse.DataBean.PictureInfoBean pictureInfoBean);

        void setTimeTip(int timeSecond);
    }
}
